package com.srcbox.file.application

//import com.facebook.drawee.backends.pipeline.Fresco
import android.app.Application
import cat.ereza.customactivityoncrash.config.CaocConfig
import com.srcbox.file.ui.ErrorCrash
import com.yang.easyhttp.EasyHttpClient

class EggApplication : Application() {
    override fun onCreate() {
        super.onCreate()
        EasyHttpClient.init(this);
        EasyHttpClient.initDownloadEnvironment(2);
        CaocConfig.Builder.create().errorActivity(ErrorCrash::class.java).apply()


      /*  val mImmersionBar = ImmersionBar.with(applicationContext as Activity).statusBarAlpha(0.6f)
        mImmersionBar.init()*/

//        Fresco.initialize(this)
    }
}